import { createApp } from 'vue'
import { createPinia } from 'pinia'
import { Form, Field, CellGroup } from 'vant';
import { ImagePreview } from 'vant';
import { Collapse, CollapseItem } from 'vant';
import { IndexBar, IndexAnchor } from 'vant';

import App from './App.vue'
import router from './router'
import { showToast } from 'vant';
import 'vant/es/toast/style';
import { Dialog } from 'vant';
import { showDialog } from 'vant';
import 'vant/es/dialog/style';
import { showImagePreview } from 'vant';
import { Button } from 'vant';

const app = createApp(App)
app.use(createPinia())

app.use(Dialog);
app.use(ImagePreview);
app.use(Collapse);
app.use(CollapseItem);
app.use(IndexBar);
app.use(IndexAnchor);
app.use(router)
app.mount('#app')
